import { defineConfig } from '@umijs/max';
// import path from 'path';
import routes from './router';
export default defineConfig({
  // mfsu:false,
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  layout: {
    title: 'umi不好用',
  },
  routes,
  npmClient: 'pnpm',
  presets: ['umi-presets-pro'],
  // 配置openapi
  // openAPI: [
  //   {
  //     requestLibPath: "import { request } from '@umijs/max'",
  //     // 项目参照的API-JSON生成service层后端交互接口
  //     schemaPath: 'http://localhost:8084/shops/v3/api-docs',
  //     // 项目名称
  //     projectName: 'yu',
  //     mock: false,
  //   },
  // ],
  // mfsu: {
  //   strategy: 'normal',
  // },
  // exportStatic: {},
  // requestRecord: {},
});
